<template>
  <div>
    <el-container>
      <el-aside width="auto">
        <common-aside/>
      </el-aside>
      <el-container>
        <el-header>
          <common-header/>
        </el-header>
        <common-tag/>
        <el-main>
          <!--路由出口-->
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
  import CommonAside from "../components/CommonAside";
  import CommonHeader from "../components/CommonHeader"
  import CommonTag from "../components/CommonTag";
    export default {
        name: "Main",
        data(){
            return{
                activeName: 'first'
            }
        },
        components:{
            CommonAside,
            CommonHeader,
            CommonTag
        }
    }
</script>

<style scoped>
.el-header{
  padding: 0;
}
</style>
